package com.jeesite.modules.mo.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.mo.entity.MoRefund;
import com.jeesite.modules.mo.dao.MoRefundDao;

/**
 * 退款Service
 * @author 李寒冰
 * @version 2025-02-18
 */
@Service
public class MoRefundService extends CrudService<MoRefundDao, MoRefund> {
	
	/**
	 * 获取单条数据
	 * @param moRefund
	 * @return
	 */
	@Override
	public MoRefund get(MoRefund moRefund) {
		return super.get(moRefund);
	}
	
	/**
	 * 查询分页数据
	 * @param moRefund 查询条件
	 * @param moRefund page 分页对象
	 * @return
	 */
	@Override
	public Page<MoRefund> findPage(MoRefund moRefund) {
		return super.findPage(moRefund);
	}
	
	/**
	 * 查询列表数据
	 * @param moRefund
	 * @return
	 */
	@Override
	public List<MoRefund> findList(MoRefund moRefund) {
		return super.findList(moRefund);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param moRefund
	 */
	@Override
	@Transactional
	public void save(MoRefund moRefund) {
		super.save(moRefund);
	}
	
	/**
	 * 更新状态
	 * @param moRefund
	 */
	@Override
	@Transactional
	public void updateStatus(MoRefund moRefund) {
		super.updateStatus(moRefund);
	}
	
	/**
	 * 删除数据
	 * @param moRefund
	 */
	@Override
	@Transactional
	public void delete(MoRefund moRefund) {
		super.delete(moRefund);
	}
	
}